<?php
    session_start();
    include("conection.php");

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <title>EStore</title>
    
    <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
    
    <link type="text/css" rel="stylesheet" href="styles/style.css" />
    
    <link type="text/css" rel="stylesheet" href="styles/styles.css" />
    
    <!-- javascript caladar--->
    <link rel="stylesheet" type="text/css" media="all" href="scripts/javascript/skins/aqua/theme.css" title="Aqua" />
    <!-- import the language module -->
    
    
    <script src="scripts/jquery-1.js" type="text/javascript" charset="utf-8"></script>
    <script src="scripts/jquery.js" type="text/javascript" charset="utf-8"></script>
    

  <script type="text/javascript" charset="utf-8">
        $(function() {
            function launch() {
                 $('#sign_up').lightbox_me({centered: true, onLoad: function() { $('#sign_up').find('input:first').focus()}});
            }
            
            $('#popup').click(function(e) {
                $("#sign_up").lightbox_me({centered: true, onLoad: function() {
                    $("#sign_up").find("input:first").focus();
                }});
                
                e.preventDefault();
            });
            
            
            $('table tr:nth-child(even)').addClass('stripe');
        });
    </script>
    
    
<body>
    <div id="wrapper">
        <div id="body">
                <?php
               if(isset($_GET['page']) && $_GET['page'] != ''){
                    include_once($_GET['page'].'.php');
                }else{
                    include_once('views.php');
                }
                ?>  
        </div>
    </div>
</body>
</html>
